//
//  VVSportPolyline.h
//  DingDingSport
//
//  Created by 王惠平 on 2017/4/22.
//  Copyright © 2017年 will wang. All rights reserved.
//

#import <MAMapKit/MAMapKit.h>


@interface VVSportPolyline : MAPolyline

//折线平均速度
@property (nonatomic, assign,readonly) CGFloat speed;

//描边颜色
@property (nonatomic, strong,readonly) UIColor *strokeColor;

//折线距离 km
@property (nonatomic, assign, readonly) CGFloat distance;

//折线时长 s
@property (nonatomic, assign, readonly) CGFloat time;

/**
 折线初始化
 
 @param source 起点位置对象
 @param dest 终点位置对象
 @return 折线模型
 */
+ (instancetype)polylineWithSourceLocation:(CLLocation *)source andDestLocation:(CLLocation *)dest;

@end
